home *** CD-ROM | disk | FTP | other *** search
- /*
- ### procedures for repainting combined space canvases ###
- */
-
- #include <suntool/sunview.h>
- #include <suntool/canvas.h>
-
- void aux_repaint_proc(canvas,event,arg)
- Canvas canvas;
- Event *event;
- caddr_t arg;
- {
- int resize,i;
- extern int aux_win_i,aux_max;
- extern Canvas *aux_canvas;
-
- for(i=0;i<aux_max;i++){
- if(canvas == aux_canvas[i]){
- aux_win_i = i;
- break;
- }
- }
- if(!(resize=(int)window_get(aux_canvas[aux_win_i],WIN_RESIZE))){
- aux_redisplay_data(aux_win_i);
- }
- else{
- /*
- default_repaint();
- */
- }
- }
-